import request from "./http";

//获取用户信息
export function getAccountNumber(){
    return request({
        url:"/user/account",
        method:"get",
    })
}

//获取用户详情
export function getUserDetails(params){
    return request({
        url:"/user/detail",
        method:"get",
        params
    })
}

//用户关注
export function getUserFollow(params){
    return request({
        url:"/user/follows",
        method:"get",
        params
    })
}

//用户粉丝
export function getfans(params){
    return request({
        url:"/user/followeds",
        method:"get",
        params
    })
}


//用户等级
export function getGrade(params){
    return request({
        url:"/user/level",
        method:"get",
        params
    })
}


//退出登录
export function getsignout(){
    return request({
        url:"/logout",
        method:"get",
    })
}
